package com.wfs.aoawlms.service.impl;

import com.wfs.aoawlms.mapper.LoginMapper;
import com.wfs.aoawlms.pojo.User;
import com.wfs.aoawlms.service.LoginService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class LoginServicelmpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;
    @Override
    public User login(String username, String password) {
        User loginUser = loginMapper.login(username,password);
        return loginUser;
    }
}
